package com.hisense.hiioc.hismartplate.robot.engine;

import com.hisense.hiioc.hismartplate.entity.dto.MesRobot;

import java.util.List;

/**
 * @Auther:biexiande@hisense.com
 * @date:2018/12/13 13:50
 * @des
 */
public abstract class AbstractInputHandler implements IInputHander{
    private IInputHander nextHandler;
    public void setNextHandler(IInputHander nextChain) {
        this.nextHandler = nextChain;
    }
    @Override
    public void doProcess(MesRobot input,List<String> directiveList){
        this.doProcess(input,directiveList,this.nextHandler);
    }

    public  abstract void doProcess(MesRobot input,List<String> directiveList,IInputHander nextHandlelr );
}
